package com.sz.biz.logistics.core.entity;

import com.sz.common.base.entity.EntityBase;

import java.math.BigDecimal;

/**
 * Function: 运费的价格设置
 * Date: 2017年03月07日 14:45 <br>
 * Author: wentao.chang
 */
public class FreightItem extends EntityBase {

    private static final long serialVersionUID = 7671237288598454630L;
    /**
     *
     */
    private Integer id;
    /**
     * 报价方案id
     */
    private Integer quotationId;
    /**
     * 报价方案set的id
     */
    private Integer quotationSetId;

    /**
     * 目的地的Uid
     */
    private String toRegionUid;

    /**
     * 序号 与重量段的顺序匹配从0开始
     */
    private Integer idx;
    /**
     * 序号
     */
    private Integer ordinal;
    /**
     * 运费价格
     */
    private BigDecimal price;
    /**
     * 计算方式：PCT001总价PCT002单价PCT003续单价PCT004续阶单价
     */
    private String calcType;
    /**
     * 每多少计量单位去乘单价
     */
    private BigDecimal baseValue;
    /**
     * 计量单位
     */
    private String baseUnitCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQuotationId() {
        return quotationId;
    }

    public void setQuotationId(Integer quotationId) {
        this.quotationId = quotationId;
    }

    public String getToRegionUid() {
        return toRegionUid;
    }

    public void setToRegionUid(String toRegionUid) {
        this.toRegionUid = toRegionUid;
    }


    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getCalcType() {
        return calcType;
    }

    public void setCalcType(String calcType) {
        this.calcType = calcType;
    }

    public BigDecimal getBaseValue() {
        return baseValue;
    }

    public void setBaseValue(BigDecimal baseValue) {
        this.baseValue = baseValue;
    }

    public String getBaseUnitCode() {
        return baseUnitCode;
    }

    public void setBaseUnitCode(String baseUnitCode) {
        this.baseUnitCode = baseUnitCode;
    }

    public Integer getIdx() {
        return idx;
    }

    public void setIdx(Integer idx) {
        this.idx = idx;
    }

    public Integer getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }

    public Integer getQuotationSetId() {
        return quotationSetId;
    }

    public void setQuotationSetId(Integer quotationSetId) {
        this.quotationSetId = quotationSetId;
    }
}
